package com.sftz.modules.minapp.personal.enums;

import com.uxuexi.core.common.enums.IEnum;

/**
 * 表单项是否必填
 */
public enum InstitutionFormRequireEnum implements IEnum {
	REQUIRED(1, "必填"), NOT_REQUIRED(2, "选填");
	private int key;
	private String value;

	private InstitutionFormRequireEnum(final int key, final String value) {
		this.value = value;
		this.key = key;
	}

	@Override
	public String key() {
		return String.valueOf(key);
	}

	@Override
	public String value() {
		return value;
	}

	public int intKey() {
		return key;
	}
}
